package com.wdcloud.framework_business.mvp;

/**
 * Info:
 * Created by Umbrella.
 * CreateTime: 2021/3/4 11:12
 */

public interface IBasePresenter<T extends IBaseView>{
    /**
     * 依附生命view
     * test
     * @param view
     */
    void attachView(T view);

    /**
     * 分离View
     */
    void detachView();

    /**
     * 判断View是否已经销毁
     *
     * @return
     */
    boolean isViewAttached();
}
